﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SM2DashBoard
{
    public class DashboardSettings
    {
        public static void setName(string stringName)
        {
            SM2Input.Silverlight.TypeTextBox("txtName", stringName);
        }

        public static void closeDBSettings()
        {
            SM2Input.Silverlight.ClickButton("CloseButton");
        }

        public static void setAutoRange(Boolean bl)
        {
            SM2Input.Silverlight.CheckCheckBox("chkArrange", bl);
        }

        public static void setShare(Boolean bl)
        {
            SM2Input.Silverlight.CheckCheckBox("chkShare", bl);
        }

        public static void clickOK()
        {
            SM2Input.Silverlight.ClickButton("OKButton");
        }

        public static void clickCancel()
        {
            SM2Input.Silverlight.ClickButton("CancelButton");
        }
    }
}
